import http from '@/service/http'
import type * as T from '@/types/api/index'
const versionApi: T.IVersionApi = {
  list(data) {
    return http.post('/admin/Version/list', data)
  },
  detail(data) {
    return http.post('/admin/Version/detail', data)
  },
  add(data) {
    return http.post('/admin/Version/addEdit', data)
  },
  dels(data) {
    return http.post('/admin/Version/dels', data)
  }
}

export default versionApi
